home *** CD-ROM | disk | FTP | other *** search
/ FDR / FDR.iso / FDR / FDR.DXR / 00009_sprite scripts.ls < prev    next >
Encoding:
Text File  |  1996-10-22  |  576 b   |  23 lines

  1. on clickWait
  2.   puppetSound("click")
  3.   updateStage()
  4.   repeat while the stillDown
  5.   end repeat
  6. end
  7.  
  8. on setPuppets onOrOff, puppetList
  9.   set maxCtr to count(puppetList)
  10.   repeat with ctr = 1 to maxCtr
  11.     puppetSprite(getAt(puppetList, ctr), onOrOff)
  12.   end repeat
  13. end
  14.  
  15. on showSprite theSpriteNum, theCastName, pt, update
  16.   set the castLibNum of sprite theSpriteNum to the castLibNum of member theCastName
  17.   set the memberNum of sprite theSpriteNum to the memberNum of member theCastName
  18.   set the loc of sprite theSpriteNum to pt
  19.   if update then
  20.     updateStage()
  21.   end if
  22. end
  23.